import { createApp } from 'vue'
import App from './App.vue'

// 引入ElementPlus 库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 引入router
import router from './router'

const app = createApp(App)
app.use(ElementPlus)
app.use(router)
app.mount('#app')

// 组件挂载
new Vue({
    router,
    render: h => h(App),
  }).$mount('#app');